home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr26 / netprog.zip / NETPROG.TAR / ping / Makefile < prev    next >
Makefile  |  1989-12-17  |  332b  |  22 lines

  1. #
  2. # Makefile for ping program.
  3. #
  4.  
  5. MYLIB    = ../libnet.a
  6. OBJ    = checksum.o finish.o main.o print.o recvping.o \
  7.         sendping.o sigalarm.o
  8.  
  9. all:
  10.     make `systype.sh`
  11.  
  12. bsd:
  13.     make "CFLAGS = -O" "LIBS = " ping
  14.  
  15. ping:    $(OBJ)
  16.     cc -o ping $(CFLAGS) $(OBJ) $(MYLIB) $(LIBS)
  17.  
  18. $(OBJ): defs.h
  19.  
  20. clean:
  21.     rm -f *.o ping *.out.* temp.* make.* Make.* core
  22.